package com.czh.springboot04.mapper;


import com.czh.springboot04.entity.Coursetalk;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CoursetalkMapper {
    int insert(Coursetalk coursetalk);
    int update(Coursetalk coursetalk);
    int delete(int id);
    Coursetalk selectById(int id);
    List<Coursetalk> select(@Param("nickName") String nickName, @Param("courseName") String courseName);
}
